<?php


namespace App\Validate\Logic;

use App\Exceptions\SysExceptions;

/**
 * Class BaseLogic
 * @package App\Validate\Logic
 * author:fhc
 * desc:公共Logic
 * created_at: {2020/10/16}----10:24 上午
 */
class BaseLogic
{
    public function error($msg = '',$code = 201){
        throw new SysExceptions($msg,$code);
    }
}
